####################################################################
#
#    This file was generated using Parse::Yapp version 1.05.
#
#        Don't edit this file, use source file instead.
#
#             ANY CHANGE MADE HERE WILL BE LOST !
#
####################################################################
package Demo1;
use vars qw ( @ISA );
use strict;

@ISA= qw ( Parse::Yapp::Driver );
use Parse::Yapp::Driver;



sub new {
        my($class)=shift;
        ref($class)
    and $class=ref($class);

    my($self)=$class->SUPER::new( yyversion => '1.05',
                                  yystates =>
[
	{#State 0
		ACTIONS => {
			'NUM' => 1,
			"[" => 3
		},
		GOTOS => {
			'A' => 2
		}
	},
	{#State 1
		DEFAULT => -2
	},
	{#State 2
		ACTIONS => {
			'' => 4
		}
	},
	{#State 3
		ACTIONS => {
			'NUM' => 1,
			"[" => 3
		},
		GOTOS => {
			'A' => 5
		}
	},
	{#State 4
		DEFAULT => 0
	},
	{#State 5
		ACTIONS => {
			"]" => 6
		}
	},
	{#State 6
		DEFAULT => -1
	}
],
                                  yyrules  =>
[
	[#Rule 0
		 '$start', 2, undef
	],
	[#Rule 1
		 'A', 3, undef
	],
	[#Rule 2
		 'A', 1, undef
	]
],
                                  @_);
    bless($self,$class);
}

#line 15 "examples\demo1\Demo1.ypj.yp"


sub _Error{}
sub _Lexer{}
__END__
#Lexical definitions 
{%
NUM:	/^([0-9]+(?:\.[0-9]+)?)/g	{parseFloat}
%}
1;
